<el-form ref="form" :model="form" :rules="rules" label-width="140px">
    <el-row :gutter="10">
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="客户编号" prop="MMRB001">
                <el-input clearable v-model="form.MMRB001" :disabled="!isAdd" readOnly>
                    <i v-show="isAdd" class="el-icon-search el-input__icon" @click="openKh" slot="suffix">
                    </i>
                </el-input>
                <!--<el-select clearable v-model="form.MMRB001" size="small" placeholder="请选择客户编号" :disabled="!isAdd"
                 @change="open">
                    <el-option v-for="item in selectOptions.options1"
                               :key="item.GWAK001"
                               :label="item.GWAK001 + item.GWAKL003"
                               :value="item.GWAK001">
                    </el-option>
                </el-select>-->
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="设备编号" prop="MMRB002">
                <el-input clearable v-model="form.MMRB002" :disabled="!isAdd" readOnly @clear="clearMmrb002">
                    <i v-show="isAdd" class="el-icon-search el-input__icon" @click="openMmra002" slot="suffix">
                    </i>
                </el-input>
                <!--<el-select clearable v-model="form.MMRB002" size="small" placeholder="请选择设备编号" :disabled="!isAdd"
                           @change="change1">
                    <el-option v-for="item in selectOptions.options2"
                               :key="item.MMRA002"
                               :label="item.MMRA002 + item.MMRA004"
                               :value="item.MMRA002">
                    </el-option>
                </el-select>-->
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="设备名称" prop="MMRA004">
                <el-input v-model="form.MMRA004" readonly></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="序列号" prop="MMRB003">
                <el-input v-model="form.MMRB003" readonly></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="型号规格">
                <el-input v-model="form.MMRA006" readonly></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="配件编号" prop="MMRB004">
                <el-input clearable v-model="form.MMRB004" :disabled="!isAdd" readOnly @clear="clearMmrb004">
                    <i v-show="isAdd" class="el-icon-search el-input__icon" @click="openMmra004" slot="suffix">
                    </i>
                </el-input>
                <!--<el-select clearable v-model="form.MMRB004" size="small" placeholder="请选择配件编号" @change="change2">
                    <el-option v-for="item in selectOptions.options3"
                               :key="item.GWAM001"
                               :label="item.GWAM001 + item.GWAML003"
                               :value="item.GWAM001">
                    </el-option>
                </el-select>-->
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="配件名称" prop="MMRB006">
                <el-input v-model="form.MMRB006" readonly></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="序列号" prop="MMRB005">
                <el-input v-model="form.MMRB005" readonly></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="型号规格">
                <el-input v-model="form.MMRB007" readonly></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="数量">
                <el-input v-model="form.MMRB008"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="制造日期">
                <el-date-picker
                        v-model="form.MMRB010"
                        type="date"
                        placeholder="请选择制造日期"
                        value-format="yyyy-MM-dd" style="width:100%;">
                </el-date-picker>
            </el-form-item>
        </el-col>
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="三包到期日期">
                <el-date-picker
                        v-model="form.MMRB011"
                        type="date"
                        placeholder="请选择三包到期日期"
                        value-format="yyyy-MM-dd" style="width:100%;">
                </el-date-picker>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="生产厂家(品牌)">
                <el-input v-model="form.MMRB012"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="氮值">
                <el-input v-model="form.MMRB020"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" style="text-align: right">
            <el-button icon="icon iconfont icon-23" size="mini" @click="cancel">关闭</el-button>
            <el-button type="warning" icon="icon iconfont icon-21" size="mini" @click="sure">保存</el-button>
        </el-col>
    </el-row>
</el-form>
<script>
    require(["pc/crm/gwai620_edit"], $.noop);
</script>
